package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 路由对象 gw_router
 *
 * @author ruoyi
 * @date 2024-10-11
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class GwRouterVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long Id;

    /** 路由id */
    @Excel(name = "路由id")
    private Long routerId;

    /** 域名 */
    @Excel(name = "域名")
    private String domain;
    /** 节点名称 */
    private String deptName;
    /** 标识前缀 */
    @Excel(name = "标识前缀")
    private String prefix;

    /** 企业id */
    @Excel(name = "企业id")
    private Long deptId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 创建节点 */
    @Excel(name = "创建节点")
    private Long createDept;
    /** 节点标识 */
    @Excel(name = "节点标识")
    private String    nodeIdentifier;

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setRouterId(Long routerId)
    {
        this.routerId = routerId;
    }

    public Long getRouterId()
    {
        return routerId;
    }
    public void setDomain(String domain)
    {
        this.domain = domain;
    }

    public String getDomain()
    {
        return domain;
    }
    public void setPrefix(String prefix)
    {
        this.prefix = prefix;
    }

    public String getNodeIdentifier() {
        return nodeIdentifier;
    }

    public void setNodeIdentifier(String nodeIdentifier) {
        this.nodeIdentifier = nodeIdentifier;
    }

    public String getPrefix()
    {
        return prefix;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateDept(Long createDept)
    {
        this.createDept = createDept;
    }

    public Long getCreateDept()
    {
        return createDept;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("routerId", getRouterId())
                .append("domain", getDomain())
                .append("prefix", getPrefix())
                .append("deptId", getDeptId())
                .append("delFlag", getDelFlag())
                .append("createDept", getCreateDept())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
